ImageOptimization\Modules\Optimization\Classes\Optimize_Image S

Total Complexity 36
Dependencies 20
Dependents 3
Total lines 301
Lines of code 187
Logical lines of code 101
Comment lines 46
Methods 9
Properties 9

Methods 9

Method Rating Maintainability Complexity Lines of code
send_file()
A
42 8 50
optimize()
A
49 8 31
replace_image_file()
S
50 7 30
optimize_current_size()
S
52 5 23
update_attachment_meta()
S
54 3 22
update_attachment_post()
S
62 2 11
update_posts()
S
72 1 6
mark_as_optimized()
S
73 1 6
__construct()
S
66 1 8